//app.js
App({
  globalData: {
    screenWidth:0,
    API:{
      sheetList:"http://192.168.0.128:10418/SongSheet/List",
      sheetDetail:"http://192.168.0.128:10418/SongSheet/Detail/",
      SongDetail:"http://192.168.0.128:10418/SongSheet/SongDetail/?sheetId=2100341581&songId=419374873"

    }
  },
  onLaunch: function () {
    var that=this;
    wx.getSystemInfo({
      success: function (res) {        
        that.globalData.screenWidth= res.windowWidth;
      }
    });
    
  }
})